Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addressing a few vulnerability issues #1897

Closed
wants to merge 1 commit into from

Conversation

safaci2000
Copy link

@safaci2000 safaci2000 commented Nov 7, 2023

Addressing the following current issue related to golang version.

govulncheck ./...
Scanning your code and 163 packages across 14 dependent modules for known vulnerabilities...

=== Informational ===

Found 3 vulnerabilities in packages that you import, but there are no call
stacks leading to the use of these vulnerabilities. You may not need to
take any action. See https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck
for details.

Vulnerability #1: GO-2023-2102
HTTP/2 rapid reset can cause excessive work in net/http
More info: https://pkg.go.dev/vuln/GO-2023-2102
Standard library
Found in: net/[email protected]
Fixed in: net/[email protected]

Vulnerability #2: GO-2023-2045
Memory exhaustion in QUIC connection handling in crypto/tls
More info: https://pkg.go.dev/vuln/GO-2023-2045
Standard library
Found in: crypto/[email protected]
Fixed in: crypto/[email protected]

Vulnerability #3: GO-2023-2044
Panic when processing post-handshake message on QUIC connections in
crypto/tls
More info: https://pkg.go.dev/vuln/GO-2023-2044
Standard library
Found in: crypto/[email protected]
Fixed in: crypto/[email protected]

No vulnerabilities found.

Share feedback at https://go.dev/s/govulncheck-feedback.

@@ -1,6 +1,6 @@
module github.com/minio/minio-go/v7

go 1.17
go 1.21.3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
go 1.21.3
go 1.19

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.19 suffers from the same vulnerabilities unfortunately. I saw that you had some CICD to be backward compatible with 1.19 which might be a bigger change. I'm happy to accept the changes but they won't solve the issue.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The security vulnerabilities test fails on 1.21 as well, that's why I explicitly pinned to 1.21.3

@harshavardhana
Copy link
Member

I don't think this PR doing anything, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants